﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.IO;

namespace mis
{
    public partial class Mis : Form
    {
        public Mis()
        {
            InitializeComponent();

            XmlTextReader MIS_config = new XmlTextReader("MIS_config.xml");
            //wait for input that says to 'fire'
            while (!MIS_config.EOF)
            {
                MIS_config.Read();
                if (!MIS_config.IsStartElement("settings")) break;
                MIS_config.Read();
                modellabel.Text = MIS_config.ReadElementString("model");
                serieslabel.Text = MIS_config.ReadElementString("series");
                MIS_config.Close();
            }
        }
        
        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void progressBar1_Click(object sender, EventArgs e)
        {

        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {


        }

        private void fileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void alwaysOnTopToolStripMenuItem_Click(object sender, EventArgs e)
        {
         
        }

        private void normalToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TopMost = false;
        }

        private void alwaysOnTopToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            TopMost = true;
        }

        private void label3_Click(object sender, EventArgs e)
        {

        }

        private void Serieslabel_Click(object sender, EventArgs e)
        {
        
        }

        private void label2_Click(object sender, EventArgs e)
        {

        }
    }
}
